from flask import Flask

from configs.app_conf import TestConfig
from views.search_index import sear

app = Flask(
    __name__,
    template_folder='../templates'
)
# # app 配置
app.config.from_object(TestConfig)

# 注册蓝图
app.register_blueprint(sear)

